package com.magicborrow.beans;

import java.util.List;

/**
 * Created by ghost on 16/5/31.
 */
public class ConllectionListBean {

    /**
     * code : 0
     * data : {"content":[{"created":"2016-05-25 09:40:59","id":2,"ware":{"address":"北京","box":1,"created":"2016-05-10 13:33:08","deleted":0,"deposit":5000,"description":"红宝石(Ruby)的红色愈鲜艳便愈美丽、愈有价值。红宝石(Ruby)中极品的颜色被称为\u201c鸽血红\u201d。这是一种几乎可称为深红色的鲜艳强烈的色彩，能够把红宝石(Ruby)的美表露得一览无遗。它的红色除了纯净、饱和、明亮之外，更给人以强烈的\u201c燃烧的火\u201d与\u201c流动的血\u201d的感觉。","favor":false,"favors":2,"id":1,"images":[{"created":"2016-05-10 13:33:08","height":679,"id":1,"origin":"/store/origin//2016/0510/10133307laio.jpg","preview":"/store/thumbs//2016/0510/101333078xno.jpg","targetId":1,"width":673},{"created":"2016-05-10 13:33:08","height":340,"id":2,"origin":"/store/origin//2016/0510/10133308yn42.jpg","preview":"/store/thumbs//2016/0510/10133308dptq.jpg","targetId":1,"width":535}],"lat":1.11,"lendMode":1,"lon":1.11,"name":"3.06克拉天然无烧鸽血红红宝石","price":200,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36:08","grayIcon":"/store/thumbs/2016/0511/111126254hnv.png","icon":"/store/thumbs/2016/0511/111126259sf5.png","id":1,"name":"运动健身"},{"created":"2016-05-10 11:36:24","grayIcon":"/store/thumbs/2016/0511/111126122esb.png","icon":"/store/thumbs/2016/0511/11112612run5.png","id":2,"name":"精致生活"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowScaleAVG":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-10 11:32:50","gender":1,"id":1,"lat":0,"lendScale":0,"lendScaleAVG":0,"lendTimes":0,"lon":0,"nickname":"m13811605753","signature":"","status":0,"studentStatus":0,"updated":"2016-05-10 11:32:50"}},"wareId":1}],"first":true,"last":true,"number":0,"numberOfElements":1,"size":20,"sort":null,"totalElements":1,"totalPages":1}
     * message : 操作成功
     */

    private int code;
    /**
     * content : [{"created":"2016-05-25 09:40:59","id":2,"ware":{"address":"北京","box":1,"created":"2016-05-10 13:33:08","deleted":0,"deposit":5000,"description":"红宝石(Ruby)的红色愈鲜艳便愈美丽、愈有价值。红宝石(Ruby)中极品的颜色被称为\u201c鸽血红\u201d。这是一种几乎可称为深红色的鲜艳强烈的色彩，能够把红宝石(Ruby)的美表露得一览无遗。它的红色除了纯净、饱和、明亮之外，更给人以强烈的\u201c燃烧的火\u201d与\u201c流动的血\u201d的感觉。","favor":false,"favors":2,"id":1,"images":[{"created":"2016-05-10 13:33:08","height":679,"id":1,"origin":"/store/origin//2016/0510/10133307laio.jpg","preview":"/store/thumbs//2016/0510/101333078xno.jpg","targetId":1,"width":673},{"created":"2016-05-10 13:33:08","height":340,"id":2,"origin":"/store/origin//2016/0510/10133308yn42.jpg","preview":"/store/thumbs//2016/0510/10133308dptq.jpg","targetId":1,"width":535}],"lat":1.11,"lendMode":1,"lon":1.11,"name":"3.06克拉天然无烧鸽血红红宝石","price":200,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36:08","grayIcon":"/store/thumbs/2016/0511/111126254hnv.png","icon":"/store/thumbs/2016/0511/111126259sf5.png","id":1,"name":"运动健身"},{"created":"2016-05-10 11:36:24","grayIcon":"/store/thumbs/2016/0511/111126122esb.png","icon":"/store/thumbs/2016/0511/11112612run5.png","id":2,"name":"精致生活"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowScaleAVG":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-10 11:32:50","gender":1,"id":1,"lat":0,"lendScale":0,"lendScaleAVG":0,"lendTimes":0,"lon":0,"nickname":"m13811605753","signature":"","status":0,"studentStatus":0,"updated":"2016-05-10 11:32:50"}},"wareId":1}]
     * first : true
     * last : true
     * number : 0
     * numberOfElements : 1
     * size : 20
     * sort : null
     * totalElements : 1
     * totalPages : 1
     */

    private DataEntity data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataEntity {
        private boolean first;
        private boolean last;
        private int number;
        private int numberOfElements;
        private int size;
       // private Object sort;
        private int totalElements;
        private int totalPages;
        /**
         * created : 2016-05-25 09:40:59
         * id : 2
         * ware : {"address":"北京","box":1,"created":"2016-05-10 13:33:08","deleted":0,"deposit":5000,"description":"红宝石(Ruby)的红色愈鲜艳便愈美丽、愈有价值。红宝石(Ruby)中极品的颜色被称为\u201c鸽血红\u201d。这是一种几乎可称为深红色的鲜艳强烈的色彩，能够把红宝石(Ruby)的美表露得一览无遗。它的红色除了纯净、饱和、明亮之外，更给人以强烈的\u201c燃烧的火\u201d与\u201c流动的血\u201d的感觉。","favor":false,"favors":2,"id":1,"images":[{"created":"2016-05-10 13:33:08","height":679,"id":1,"origin":"/store/origin//2016/0510/10133307laio.jpg","preview":"/store/thumbs//2016/0510/101333078xno.jpg","targetId":1,"width":673},{"created":"2016-05-10 13:33:08","height":340,"id":2,"origin":"/store/origin//2016/0510/10133308yn42.jpg","preview":"/store/thumbs//2016/0510/10133308dptq.jpg","targetId":1,"width":535}],"lat":1.11,"lendMode":1,"lon":1.11,"name":"3.06克拉天然无烧鸽血红红宝石","price":200,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36:08","grayIcon":"/store/thumbs/2016/0511/111126254hnv.png","icon":"/store/thumbs/2016/0511/111126259sf5.png","id":1,"name":"运动健身"},{"created":"2016-05-10 11:36:24","grayIcon":"/store/thumbs/2016/0511/111126122esb.png","icon":"/store/thumbs/2016/0511/11112612run5.png","id":2,"name":"精致生活"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowScaleAVG":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-10 11:32:50","gender":1,"id":1,"lat":0,"lendScale":0,"lendScaleAVG":0,"lendTimes":0,"lon":0,"nickname":"m13811605753","signature":"","status":0,"studentStatus":0,"updated":"2016-05-10 11:32:50"}}
         * wareId : 1
         */

        private List<ContentEntity> content;

        public boolean isFirst() {
            return first;
        }

        public void setFirst(boolean first) {
            this.first = first;
        }

        public boolean isLast() {
            return last;
        }

        public void setLast(boolean last) {
            this.last = last;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public int getNumberOfElements() {
            return numberOfElements;
        }

        public void setNumberOfElements(int numberOfElements) {
            this.numberOfElements = numberOfElements;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

//        public Object getSort() {
//            return sort;
//        }
//
//        public void setSort(Object sort) {
//            this.sort = sort;
//        }

        public int getTotalElements() {
            return totalElements;
        }

        public void setTotalElements(int totalElements) {
            this.totalElements = totalElements;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public List<ContentEntity> getContent() {
            return content;
        }

        public void setContent(List<ContentEntity> content) {
            this.content = content;
        }

        public static class ContentEntity {
            private String created;
            private int id;
            /**
             * address : 北京
             * box : 1
             * created : 2016-05-10 13:33:08
             * deleted : 0
             * deposit : 5000
             * description : 红宝石(Ruby)的红色愈鲜艳便愈美丽、愈有价值。红宝石(Ruby)中极品的颜色被称为“鸽血红”。这是一种几乎可称为深红色的鲜艳强烈的色彩，能够把红宝石(Ruby)的美表露得一览无遗。它的红色除了纯净、饱和、明亮之外，更给人以强烈的“燃烧的火”与“流动的血”的感觉。
             * favor : false
             * favors : 2
             * id : 1
             * images : [{"created":"2016-05-10 13:33:08","height":679,"id":1,"origin":"/store/origin//2016/0510/10133307laio.jpg","preview":"/store/thumbs//2016/0510/101333078xno.jpg","targetId":1,"width":673},{"created":"2016-05-10 13:33:08","height":340,"id":2,"origin":"/store/origin//2016/0510/10133308yn42.jpg","preview":"/store/thumbs//2016/0510/10133308dptq.jpg","targetId":1,"width":535}]
             * lat : 1.11
             * lendMode : 1
             * lon : 1.11
             * name : 3.06克拉天然无烧鸽血红红宝石
             * price : 200
             * priceMode : 2
             * status : 0
             * tags : [{"created":"2016-05-10 11:36:08","grayIcon":"/store/thumbs/2016/0511/111126254hnv.png","icon":"/store/thumbs/2016/0511/111126259sf5.png","id":1,"name":"运动健身"},{"created":"2016-05-10 11:36:24","grayIcon":"/store/thumbs/2016/0511/111126122esb.png","icon":"/store/thumbs/2016/0511/11112612run5.png","id":2,"name":"精致生活"}]
             * user : {"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowScaleAVG":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-10 11:32:50","gender":1,"id":1,"lat":0,"lendScale":0,"lendScaleAVG":0,"lendTimes":0,"lon":0,"nickname":"m13811605753","signature":"","status":0,"studentStatus":0,"updated":"2016-05-10 11:32:50"}
             */

            private StuffBean ware;
            private int wareId;

            public String getCreated() {
                return created;
            }

            public void setCreated(String created) {
                this.created = created;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public StuffBean getWare() {
                return ware;
            }

            public void setWare(StuffBean ware) {
                this.ware = ware;
            }

            public int getWareId() {
                return wareId;
            }

            public void setWareId(int wareId) {
                this.wareId = wareId;
            }

        }
    }
}
